$OpenBSD: patch-Tools_mangleme_remangle_cgi_c,v 1.1.1.1 2016/12/25 14:13:13 zhuk Exp $
--- Tools/mangleme/remangle.cgi.c.orig	Fri Dec 26 02:49:32 2014
+++ Tools/mangleme/remangle.cgi.c	Fri Dec 26 02:50:11 2014
@@ -17,7 +17,7 @@
 
 #include "tags.h"
 
-#define R(x) (rand() % (x))
+#define R(x) arc4random_uniform((x))
 
 #define MAXTCOUNT 100
 #define MAXPCOUNT 20
